#ifndef DIAQ_H
#define DIAQ_H

#include <QDialog>
#include <QString>

namespace Ui {
class DiaQ;
}

class DiaQ : public QDialog
{
    Q_OBJECT
    
public:
    explicit DiaQ(QWidget *parent = 0);
    explicit DiaQ(QString text, QWidget *parent = 0);
    void setText(const QString &text);
    ~DiaQ();
    
private:
    Ui::DiaQ *ui;
    void closeEvent(QCloseEvent *event);

public slots:
    void slotFinish();
    void reject();
};

#endif // DIAQ_H
